﻿<controls:ChildWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:authctls="clr-namespace:AuthenticationService.Client.Controls;assembly=AuthenticationService.Client.Controls" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    x:Class="UserManager.Module.Views.LoginView"
    xmlns:vm="clr-namespace:UserManager.Module.ViewModels"
    xmlns:cmds="clr-namespace:UserManager.Module.CommandBehaviors"
    mc:Ignorable="d">
    <Grid x:Name="LayoutRoot" Background="#7F000000">

    	<authctls:LoginControl x:Name="loginControl" d:LayoutOverrides="Width, Height" 
                               HorizontalAlignment="Center" VerticalAlignment="Center"
                               Username="{Binding Path=Username, Mode=TwoWay}" 
                               Password="{Binding Path=Password, Mode=TwoWay}"
                               cmds:CancelCommand.Command="{Binding Path=CancelCommand}"
                               cmds:LoginCommand.Command="{Binding Path=LogonCommand}"/>

    </Grid>
</controls:ChildWindow>
